In article <32794CAE.29CC@eden.com>, chelly@eden.com wrote:
> Chris Ridd wrote:
> >
> > tm. wrote:
> > >
> > > If anyone knows of a mac shareware or freeware app that will play a 7MB
> > > .wav sound file could they please email me? SoundConverterPro and
> > > SoundEditPro don't work.
> >
> > SoundApp?
> >
> > BTW, by "big" do you mean "bigger than the amount of RAM my Mac has
> > got"? Turning on virtual memory temporarily might help if this is the
> > case.
>
> Yeah, make the sound play with lots of clicks and pops. This is the Mac
> OS we're talking about! Virtual memory. Ha! What were you thinking?!?
>
> Anyway, why should the sound be loaded into memory, only to get paged
> back to disk? Why not just read it a little bit at a time from disk, as
> it is needed?
> --
> Chelly Green | chelly@eden.com | C++ - http://www.eden.com/~chelly
Simply increase the applications memory size in the Get Info box and
you're set! SoundApp sound work just fine. I use it all the time to play
HUGE sound files while I'm on he air at the radio station I work for.
Dave Jagger
Lite Rock 95.7
WLHT
Grand Rapids, MI
________________
Do you believe in Macintosh? Learn how to help the cause by subscribing to the "EvangeList" listserver! Send email to: <evangelist@macway.com> or go to:
<http://www.solutions.apple.com/ListAdmin/>.
---------------------------
>From herzberg@humnet.ucla.edu (Larry Herzberg)
Subject: Changing Dialog Fonts
Date: Mon, 28 Oct 1996 13:54:42 -0800
Organization: UCLA
Is there a good way to change the font in a dialog with editable text
fields? I've tried the following approach, which works fine on
pre-PowerPC macs, but recently I've been getting some weird errors on the
newer systems.
dialogTEH = myDialogPeek->textH;
GetFNum( "\pKonstanz", &fontNum );
if (fontNum == 0)
DoAlert("\pUnable to find Konstanz Font!");
((TERec *)*dialogTEH)->txFont = fontNum;
InvalRect( &((TERec *)*dialogTEH)->viewRect );
+++++++++++++++++++++++++++
>From herzberg@humnet.ucla.edu (Larry Herzberg)
Date: Wed, 30 Oct 1996 16:00:02 -0800
Organization: UCLA
In article <msbishop-2910960834230001@news.zippo.com>,
msbishop@ix.netcom.com (Matt Bishop) wrote:
> In article <herzberg-2810961354420001@ts17-15.wla.ts.ucla.edu>,
I'd make a struct that contains all data required for a player including a
pointer to the gameboard data structure shared with the other player. Feed
this struct to a function that handles one of the players and returns when
the player is done with his move. Then feed the other players struct to
the function and alternate until draw, win or quit. This presumes the game
is turnbased which I think you mentioned earlier.
> We may be getting away from the subject at hand here, but this
> approach is sort of silly. C++ has no more functionality than regular
> old C; the advantage in using it is that it helps organize your problems
> in ways that (some people find) are more intuitive. Write in one or the
> other: don't bother porting.
NO programming language has more functionality than the opcodes the
processor understand. ALL programming languages tries to help the
programmer by better organizing the code or blocking out processor
features that are considered difficult to use properly (such as memory
management). There's a forum for discussions about the above ilk, I think
It's called:
alt.religion.<whatever>
/Backman
---------------------------
>From yaofei@IDEA.UML.Edu (Fei Yao)
Subject: Why "MathLib68K (4i-8d).Lib" is needed to call "sin" and "cos"?
Date: 31 Oct 1996 14:59:04 GMT
Organization: A poorly-installed InterNetNews site
Hi:
I have a couple of questions I would like to know the answer. I made the following test program (in CW 7) and tried to compile the source code to a 68K machine executable.
/*******************************/
#include <math.h>
void main(viod)
{
double x = 0.5;
double y;
y =sin(x);
}
/*******************************/
When I try to "Make" the executable, I got the following error:
'sin' referenced from 'main' is undefined.
I had to add file "MathLib68K (4i/8d).Lib" in my project in order to make the executable. So I have these questions:
1. Why do I need to have "MathLib68K (4i/8d).Lib"? why doesn't <math.h> do the job?
2. What does "(4i/8d)" in "MathLib68K (4i/8d).Lib" mean? (i = integer? d = double?). There are numerous "MathLib68K" files, with all kinds of "i", "d", "f" and "FA" in the file name. I just don't know what they mean.
TIA.
+++++++++++++++++++++++++++
>From dougw@ast1.spa.umn.edu (Doug Williams)
Date: Thu, 31 Oct 1996 12:03:08 -0600
Organization: U of MN - Astronomy
In article <55aero$6mf@ulowell.uml.edu>, yaofei@IDEA.UML.Edu (Fei Yao) wrote:
}/*******************************/
}#include <math.h>
}
}void main(viod)
}{
} double x = 0.5;
} double y;
}
} y =sin(x);
}}
}/*******************************/
}
}When I try to "Make" the executable, I got the following error:
}'sin' referenced from 'main' is undefined.
}
}I had to add file "MathLib68K (4i/8d).Lib" in my project in order to make
the executable. So I have these questions:
}
}1. Why do I need to have "MathLib68K (4i/8d).Lib"? why doesn't <math.h>
do the job?
}
<math.h> only defines (or declares) the functions. Basically, it tells
the file what kinds of parameters the functions take and return, so
rudimentary type checking can be performed. This is standard 'C'
practice. On a command line, it is alanogous to using '-lm', which says
to link in the math library. The library is where the previously compiled
code lives.
}2. What does "(4i/8d)" in "MathLib68K (4i/8d).Lib" mean? (i = integer? d
= double?). There are numerous "MathLib68K" files, with all kinds of "i",
"d", "f" and "FA" in the file name. I just don't know what they mean.
i = integer 4i ==> 4byte integers
d = double 8d ==> 8byte doubles
FA I think shows whether you want the "near" or "far" memory model
f = ??
-=[doug]=-
+++++++++++++++++++++++++++
>From bomke <edb@discryptic.com>
Date: Mon, 04 Nov 1996 14:32:06 -0800
Organization: discryptic designs
Doug Williams wrote:
>
> i = integer 4i ==> 4byte integers
> d = double 8d ==> 8byte doubles
> FA I think shows whether you want the "near" or "far" memory model
> f = ??
f = floating-point coprocessor (68881) instructions, rather than SANE
traps
---------------------------
>From P.T.Russell@sussex.ac.uk (Paul Russell)
Subject: [Q] How to get rid of menu bar ?
Date: Wed, 30 Oct 1996 10:58:18 +0000
Organization: Experimental Psychology, Sussex University
I'm working on an application that needs to work with a completely black
screen, much like an arcade game might do. Currently, I put up a window
with a black background and call LMSetMBarHeight(0). This has the desired
effect in most respects and it even gets rid of the Control Strip, but it
still leaves an empty menu bar on the main screen. Calling DrawMenuBar()
after the LMSetMBarHeight(0) doesn't seem to make any difference. What am
I missing ?...
//Paul
--
| Paul Russell http://www.biols.susx.ac.uk/Home/Paul_Russell |